use libc::c_int;

extern { fn double_it(a: c_int) -> c_int; }

fn main() {
    let a = 10;
    println!("{} * 2 = {}", a, unsafe { double_it(a) });
}
